<style lang='scss' scoped>
.clothes-item {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: solid 1px #e6e6e6;
    .img-box {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 5px 10px;
        background: #f7f7f7;
        img {
            width: 100%;
            height: 100%;
        }
        .delete {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            background: rgba(51, 51, 51, 0.35);
            .icon {
                position: absolute;
                left: 50%;
                bottom: 10px;
                margin-left: -12px;
                font-size: 14px;
                color: #608be8;
                width: 24px;
                height: 16px;
                background: #fff;
                border-radius: 14px;
            }
        }
    }
    .code {
        padding: 5px 0px 0px 10px;
        width: 100%;
        text-align: left;
    }
}
</style>

<template>
    <div class="clothes-item">
        <div class="img-box">
            <img src="@/assets/clothes.jpg" alt>
            <!-- <div class="delete" @click="onDelete()">
                <Icon type="ios-trash-outline" class="icon"/>
            </div>-->
        </div>

        <div class="code">HJ37654798</div>
    </div>
</template>

<script>
export default {
    data() {
        return {}
    },
    methods: {
        onDelete() {

        }
    },
}
</script>